package com.zxq.uart.controller;

import com.zxq.uart.frame.decoder._06QueryChargeResult;
import com.zxq.uart.frame.encoder._06QueryChargeCmd;
import com.zxq.uart.result.ResultVO;
import com.zxq.uart.service.impl.PlatformExchange;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class _06QueryMachineEmptyController extends PlatformExchange<_06QueryChargeCmd, _06QueryChargeResult> {


    @Override
    public Integer getCmd() {
        return 1;
    }

    @PostMapping("exchange/06")
    @Override
    public ResultVO<_06QueryChargeResult> exchange(@RequestBody _06QueryChargeCmd order) {
        return super.exchange(order);
    }



    @Override
    public _06QueryChargeResult getResult() {
        _06QueryChargeResult queryChargeResult = new _06QueryChargeResult();
        return queryChargeResult;
    }

}
